//
//  FProgressBar.h
//  go2
//
//  Created by 袁飞 on 12-7-21.
//
//

#import <Foundation/Foundation.h>
#import "FControl.h"

@interface FProgressBar : FControl{
  int total_;
  int cur_;
  CCSprite  *bk_;
  CCSprite  *bar_;
}
@property (nonatomic, readwrite) int cur;

-(id)initWithBK:(NSString*)bkname Bar:(NSString*)barname Total:(int)total;
-(void)onTouchDown:(CGPoint)point;
-(CGRect)getControlRect;

@end
